!
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Simple HeatMap</title>


  <link href="../assets/styles.css" rel="stylesheet" />

  <style>
    #chart {
      max-width: 650px;
      margin: 35px auto;
    }
  </style>
</head>

<body>
  <div id="chart">

  </div>


  <script src="../../dist/apexcharts.js"></script>

  <script>
    var data = [{
        "name": "00:00",
        "data": [{
            "x": "Sunday",
            "y": 0
          },
          {
            "x": "Monday",
            "y": 0
          },
          {
            "x": "Tuesday",
            "y": 0
          },
          {
            "x": "Wednesday",
            "y": 0
          },
          {
            "x": "Thursday",
            "y": 0
          },
          {
            "x": "Friday",
            "y": 0
          },
          {
            "x": "Saturday",
            "y": 0
          }
        ]
      },
      {
        "name": "01:00",
        "data": [{
            "x": "Sunday",
            "y": 0
          },
          {
            "x": "Monday",
            "y": 0
          },
          {
            "x": "Tuesday",
            "y": 0
          },
          {
            "x": "Wednesday",
            "y": 0
          },
          {
            "x": "Thursday",
            "y": 0
          },
          {
            "x": "Friday",
            "y": 0
          },
          {
            "x": "Saturday",
            "y": 0
          }
        ]
      },
      {
        "name": "02:00",
        "data": [{
            "x": "Sunday",
            "y": 0
          },
          {
            "x": "Monday",
            "y": 0
          },
          {
            "x": "Tuesday",
            "y": 0
          },
          {
            "x": "Wednesday",
            "y": 0
          },
          {
            "x": "Thursday",
            "y": 0
          },
          {
            "x": "Friday",
            "y": 0
          },
          {
            "x": "Saturday",
            "y": 0
          }
        ]
      },
      {
        "name": "03:00",
        "data": [{
            "x": "Sunday",
            "y": 0
          },
          {
            "x": "Monday",
            "y": 0
          },
          {
            "x": "Tuesday",
            "y": 0
          },
          {
            "x": "Wednesday",
            "y": 0
          },
          {
            "x": "Thursday",
            "y": 0
          },
          {
            "x": "Friday",
            "y": 0
          },
          {
            "x": "Saturday",
            "y": 0
          }
        ]
      },
      {
        "name": "04:00",
        "data": [{
            "x": "Sunday",
            "y": 0
          },
          {
            "x": "Monday",
            "y": 0
          },
          {
            "x": "Tuesday",
            "y": 0
          },
          {
            "x": "Wednesday",
            "y": 0
          },
          {
            "x": "Thursday",
            "y": 0
          },
          {
            "x": "Friday",
            "y": 0
          },
          {
            "x": "Saturday",
            "y": 0
          }
        ]
      },
      {
        "name": "05:00",
        "data": [{
            "x": "Sunday",
            "y": 0
          },
          {
            "x": "Monday",
            "y": 0
          },
          {
            "x": "Tuesday",
            "y": 0
          },
          {
            "x": "Wednesday",
            "y": 0
          },
          {
            "x": "Thursday",
            "y": 0
          },
          {
            "x": "Friday",
            "y": 0
          },
          {
            "x": "Saturday",
            "y": 0
          }
        ]
      },
      {
        "name": "06:00",
        "data": [{
            "x": "Sunday",
            "y": 0
          },
          {
            "x": "Monday",
            "y": 0
          },
          {
            "x": "Tuesday",
            "y": 0
          },
          {
            "x": "Wednesday",
            "y": 0
          },
          {
            "x": "Thursday",
            "y": 1
          },
          {
            "x": "Friday",
            "y": 0
          },
          {
            "x": "Saturday",
            "y": 0
          }
        ]
      },
      {
        "name": "07:00",
        "data": [{
            "x": "Sunday",
            "y": 0
          },
          {
            "x": "Monday",
            "y": 0
          },
          {
            "x": "Tuesday",
            "y": 0
          },
          {
            "x": "Wednesday",
            "y": 0
          },
          {
            "x": "Thursday",
            "y": 0
          },
          {
            "x": "Friday",
            "y": 0
          },
          {
            "x": "Saturday",
            "y": 0
          }
        ]
      },
      {
        "name": "08:00",
        "data": [{
            "x": "Sunday",
            "y": 0
          },
          {
            "x": "Monday",
            "y": 0
          },
          {
            "x": "Tuesday",
            "y": 0
          },
          {
            "x": "Wednesday",
            "y": 0
          },
          {
            "x": "Thursday",
            "y": 0
          },
          {
            "x": "Friday",
            "y": 0
          },
          {
            "x": "Saturday",
            "y": 0
          }
        ]
      },
      {
        "name": "09:00",
        "data": [{
            "x": "Sunday",
            "y": 0
          },
          {
            "x": "Monday",
            "y": 0
          },
          {
            "x": "Tuesday",
            "y": 0
          },
          {
            "x": "Wednesday",
            "y": 0
          },
          {
            "x": "Thursday",
            "y": 0
          },
          {
            "x": "Friday",
            "y": 0
          },
          {
            "x": "Saturday",
            "y": 0
          }
        ]
      },
      {
        "name": "10:00",
        "data": [{
            "x": "Sunday",
            "y": 1
          },
          {
            "x": "Monday",
            "y": 0
          },
          {
            "x": "Tuesday",
            "y": 0
          },
          {
            "x": "Wednesday",
            "y": 0
          },
          {
            "x": "Thursday",
            "y": 0
          },
          {
            "x": "Friday",
            "y": 0
          },
          {
            "x": "Saturday",
            "y": 0
          }
        ]
      },
      {
        "name": "11:00",
        "data": [{
            "x": "Sunday",
            "y": 0
          },
          {
            "x": "Monday",
            "y": 0
          },
          {
            "x": "Tuesday",
            "y": 0
          },
          {
            "x": "Wednesday",
            "y": 0
          },
          {
            "x": "Thursday",
            "y": 0
          },
          {
            "x": "Friday",
            "y": 0
          },
          {
            "x": "Saturday",
            "y": 0
          }
        ]
      }
    ];
    var options = {
      chart: {
        type: 'heatmap'
      },
      series: data,
      stroke: {
        width: 1,
        colors: ['#ccc']
      },
      xaxis: {}
    }

    var chart = new ApexCharts(document.querySelector("#chart"), options);

    chart.render();
  </script>
</body>

</html>